ZopeEditManager is a wrapper application for Casey Duncan's excellent External Editor for Mac OS X, allowing Mac users the same level of flexibility in editors and number of concurrent edits.
Using the current Mac OS X Solution <http://zope.org/Members/Feneric/ExtEditMacOSX> will only get you part of the way to <textarea> freedom. Specifically, it only allows for applications that have either a CLI component, like BBEdit, or that are bundle applications with an easily attainable executable file, mostly limited to Cocoa applications.
In addition, because of the way Mac OS X approaches applications, you can only have one External Editor process going at a time. Unlike Windows and UNIX/X11 applications, Mac OS X native applications have one runtime instance.
Taking Casey's work to the next level for Mac OS X users, I replicated his work using the PyObjC bridge, creating a native, Mac OS X application to act as manager for all External Editor processes. This means that you can specify any Mac OS X application (Carbon or Cocoa) to act as the editor for a MIME type, type group, or Zope meta_type. And you can have as many concurrent edits as you like, since all edits are proxied through a single application.
Drag the ZopeEditManger application to the Applications folder in your hard drive or home directory. You can use the built-in preferences, one of the supplied preference files, or edit your own.
Alternately, you can build ZopeEditManager from sources. In order to build it, you will need the Developer Tools provided by Apple, and the PyObjC distribution.
Jaguar users should download the PyObjC 1.0 installer <http://prdownloads.sourceforge.net/pyobjc/pyobjc-1.0.dmg?download>.
Panther users should consider using Jack Jansen's Python Additions for Panther <http://ftp.cwi.nl/jack/python/mac/MacPython-Panther-2.3-1.dmg>, which includes a Package Manager program, and installing the PyObjC tools that way.
With the PyObjC bridge now installed, you can download the ZopeEditManager sources <http://www.zope.org/Members/urbanape/ZopeEditManager/ZopeEditManager-src-0.9.tar.gz>, unpacking them, and issuing the following commands:
$ tar xfz ZopeEditManager-0.9.tar.gz $ cd ZopeEditManager-0.9 $ python buildapp.py --standalone --strip --builddir=/Applications build
You'll now have an application bundle in your /Applications directory that you can register with Mozilla.
As you download links from the Zope Management Interface (ZMI) or the Content Management Framework (CMF) or Plone, new documents will accumulate in the main table.
As saves are made in the editor, ZopeEditManager will synch those changes back to the server, and display the time of the last synch. To remove a document from ZopeEditManager, simply select it from the table, and press the '-' button, or press the 'delete' key.
Currently, the only browser fully set to work with ZopeEditManager is Mozilla. Internet Explorer supports the configuration of File Helpers, but I've been unable to get it working quite right. In any case, other browsers will download a particular file. That file can be dragged onto the ZopeEditManager icon and it will work fine. To enable ZopeEditManager in Mozilla, select the Helper Applications pane from the Navigator group, and create a New Type called 'application/x-zope-edit', and choose ZopeEditManager with the Application picker.
The configuration file has changed since version 0.7. ZopeEditManager now provides a means to automatically upgrade your preference file, if you've modified it past the defaults.
ZopeEditManager also now sports a GUI Preferences panel. Just choose "Preferences..." from the ZopeEditManager menu, or press Command-, to open the window.
The available options for ZopeEditManager are (names in parentheses are the corresponding key names in the Preferences plist):
cleanup_files
)confirm_on_finish
)save_interval
)use_locks
)always_borrow_locks
)temp_dir
)To edit an entry, simply double click on the cell, and edit. To add a new Helper App, click the '+' button. To remove an entry, select a row, and click '-'. You can sort the table by any of the columns, ascending or descending.
extension
)editor
)I would like to thank the following people for their help in this endeavor:
I hope you enjoy using this software. If you have any comments, suggestions or would like to report a bug, send an email with 'ZopeEditManager' in the Subject line to the author:
Zachery Bir <zbir@urbanape.com>
© 2003, Zachery Bir and Zope Corporation. All rights reserved.